<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="../lib/reset.css">
    <link rel="stylesheet" href="../lib/com-base.css">
    <link rel="stylesheet" href="com-message.css">
    <script src="../lib/jquery.js"></script>
    <script src="com-message.js"></script>
</head>
<body>

    <div class="demo clearfix" onclick="a1()">

</div>
<script>

    function a1(){

        $.comMessage({  //可选(warning/success/prompt)

            type:'prompt',

            text:'信息提示！',

            time:300000,

            animateTop:''

        })

    }



</script>
</body>
</html>